﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel.Syndication;

namespace YahooFinance
{
    /// <summary>
    /// Provides news items to consumers
    /// </summary>
    public interface INewsDataService
    {
        /// <summary>
        /// Returns a list of news items for the given symbol
        /// </summary>
        /// <param name="symbol">The symbol to return news for</param>
        /// <returns>NewsItem</returns>
        IList<NewsItem> GetNewsItemsFromSource(string symbol);
    }
}
